package com.weds.edwx.mapper;

import com.weds.core.annotation.MyBatisDao;
import com.weds.edwx.entity.TempMonitorEntity;
import com.weds.edwx.entity.WarnSendUserEntity;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @Author
 * @Description 管理
 * @Date 2020-02-22
 */
@MyBatisDao
public interface WarnSendUserMapper {
    /**
     */
    int deleteByPrimaryKey(Long xh);

    /**
     */
    int insert(WarnSendUserEntity record);

    /**
     */
    int insertBatch(@Param("list") List<WarnSendUserEntity> list);

    /**
     */
    int insertSelective(WarnSendUserEntity record);

    /**
     */
    WarnSendUserEntity selectByPrimaryKey(Long xh);

    /**
     */
    int updateByPrimaryKeySelective(WarnSendUserEntity record);

    /**
     */
    int updateByPrimaryKey(WarnSendUserEntity record);

    /**
     */
    List<WarnSendUserEntity> selectListByEntity(WarnSendUserEntity record);

    List<TempMonitorEntity> getWarnHealthInfoList(WarnSendUserEntity record);

    TempMonitorEntity selectWarnHealthInfoInSide(TempMonitorEntity record);
    TempMonitorEntity selectWarnHealthInfoOutSide(TempMonitorEntity record);

    int updateWarnHealthInfoInSide(TempMonitorEntity record);

    int updateWarnHealthInfoOutSide(TempMonitorEntity record);

    /**
     */
    int deleteBatchByKeys(@Param("list") List<WarnSendUserEntity> list);
}